<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>确认订单</title>
    <link rel="stylesheet" href="../css/aui.2.0.css">
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/confirm-order.css">
</head>
<body style="background-color: #f0f0f0">
<header class="aui-bar aui-bar-nav">
    <a class="aui-pull-left aui-btn">
        <span class="aui-iconfont aui-icon-left"></span>
    </a>
    <div class="aui-title">确认订单</div>
</header>
<nav id="confirm-order-box">

        <div id="default-address">
            <script id="address-template" type="text/x-handlebars-template">
            <div class="order-address">
                {{#if (compare isHaveAddress '==' 0)}}
                <div id="set-address">暂无默认收货地址，去设置...</div>
                {{else}}
                {{#mainAddress}}
                <div class="order-address-name" data-addressid="{{id}}">
                    <span>{{addressName}}</span>
                    <span>{{addressPhone}}</span>
                </div>
                <div class="order-address-detail">{{addressDetail}}</div>
                {{/mainAddress}}
                {{/if}}
            </div>
            </script>
        </div>

        <div id="confirm-shop-list">
            <script id="info-template" type="text/x-handlebars-template">
                {{#each products}}
                <div class="dis-list-box" data-spuid="{{../spuId}}" data-skuid="{{../skus.skuId}}">
                    <div class="dis-shop-img">
                        <img src="{{mainImageUrl}}" alt="">
                    </div>
                    <div class="dis-list-content">
                        <div class="dis-shop-detail">
                            <span class="hongbao">红包 <span>{{getInt productHongbao}}</span>元</span>
                            <span>{{exemption isServenBack}}</span>
                            <span>{{name}}</span>
                        </div>
                        <div class="dis-price">
                            <span>￥<span class="shop-danjia">{{productPrice}}</span></span>
                            <span>￥{{productOrginPrice}}</span>
                        </div>
                        <div class="dis-evaluate">
                            <span>{{totalFeedback}}评价</span>
                            <span>好评 <span>{{percentFeedback}}%</span></span>
                        </div>
                    </div>
                </div>
                {{/each}}
            <div class="con-pay-count">
                <div>数量</div>
                <div class="con-pay-number-box">
                    <span class="count-button count-jian">-</span>
                    <span class="count-number">1</span>
                    <span class="count-button count-plus ">+</span>
                </div>
            </div>
            <!--<div class="seckill-xiangou">
                每人限购: <span class="xiangou-number"></span> 件
            </div>-->

            <div class="con-user-message">
            <textarea placeholder="选填: 给卖家留言"
                      id="taContent" rows="3"
                      maxlength="45"></textarea>
                <div>限45字以内</div>
            </div>
            <div class="con-money-list">
                <div class="con-money-text">
                    <div>商品金额</div>
                    <div>￥<span class="pay-count-sales"></span>元</div>
                </div>
                <!--<div class="con-money-text">
                    <div>运费</div>
                    <div>{{totalPostFee}}元</div>
                </div>-->
            </div>
            <div class="footer-default"></div>
            <footer id="go-submit">
                提交订单
            </footer>
            </script>
        </div>
</nav>
<script src="../js/jquery-3.0.0.min.js"></script>
<script src="../js/handlebars-v4.0.10.js"></script>
<script src="../js/config.js"></script>
<script src="../js/function.js"></script>
<script src="../js/common.js"></script>
<!--<script src="../js/confirm-order.js"></script>-->
<script src="../js/seckill_order.js"></script>

</body>
</html>